package com.website.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "news")
public class News {

	@TableId(type = IdType.AUTO)
	private Integer id;
    private String name;
    private String top;
    private Date createTime;
	private Date updateTime;
    private String content;


}
